package com.ctrip.cap.domain.api;

import java.util.Date;

/**
 * 
 * @author ltyao
 *
 */
public class APIRunInfo {

	private Long id;
	private String requestType;
	private String actionTime;
	private Date callTime = new Date();
	private Date gmtModified = new Date();
	private String env;
	private Long caseInfoId;
	private Long caseId;
	private Integer caseResult;
	private Long apiRunId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRequestType() {
		return requestType;
	}

	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}

	public String getActionTime() {
		return actionTime;
	}

	public void setActionTime(String actionTime) {
		this.actionTime = actionTime;
	}

	public Date getCallTime() {
		return callTime;
	}

	public void setCallTime(Date callTime) {
		this.callTime = callTime;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getEnv() {
		return env;
	}

	public void setEnv(String env) {
		this.env = env;
	}

	public Long getCaseInfoId() {
		return caseInfoId;
	}

	public void setCaseInfoId(Long caseInfoId) {
		this.caseInfoId = caseInfoId;
	}

	public Long getCaseId() {
		return caseId;
	}

	public void setCaseId(Long caseId) {
		this.caseId = caseId;
	}

	public Integer getCaseResult() {
		return caseResult;
	}

	public void setCaseResult(Integer caseResult) {
		this.caseResult = caseResult;
	}

	public Long getApiRunId() {
		return apiRunId;
	}

	public void setApiRunId(Long apiRunId) {
		this.apiRunId = apiRunId;
	}

	@Override
	public String toString() {
		return "APIRunInfo [id=" + id + ", requestType=" + requestType
				+ ", actionTime=" + actionTime + ", callTime=" + callTime
				+ ", gmtModified=" + gmtModified + ", env=" + env
				+ ", caseInfoId=" + caseInfoId + ", caseId=" + caseId
				+ ", caseResult=" + caseResult + ", apiRunId=" + apiRunId + "]";
	}

}
